package com.efast.dmom.aps.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;

import com.efast.dmom.aps.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;

/**
 * 
 * @author wj
 * @Date 2020/1/20
 *
 */
public class PlanOrderPartAnalysisResultEntity extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6270001710760929707L;
	
	private long planOrderId;
	private String planOrderNo;
	private String partNo;
	private String partRevision;
	private String partDesc;
	private double qty;
	
	@JsonDeserialize(using = LocalDateDeserializer.class)
	@JsonSerialize(using = LocalDateSerializer.class)
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
	private LocalDate planOfflineDate;
	private int priority;
	private LocalDateTime analysisTime;
	private String analysisResult;
	
	private String ea0;
	private String ea1;
	private String ea2;
	private String ea3;
	private String ea4;
	public long getPlanOrderId() {
		return planOrderId;
	}
	public void setPlanOrderId(long planOrderId) {
		this.planOrderId = planOrderId;
	}
	public String getPlanOrderNo() {
		return planOrderNo;
	}
	public void setPlanOrderNo(String planOrderNo) {
		this.planOrderNo = planOrderNo;
	}
	public String getPartNo() {
		return partNo;
	}
	public void setPartNo(String partNo) {
		this.partNo = partNo;
	}
	public String getPartDesc() {
		return partDesc;
	}
	public void setPartDesc(String partDesc) {
		this.partDesc = partDesc;
	}
	public double getQty() {
		return qty;
	}
	public void setQty(double qty) {
		this.qty = qty;
	}

	public LocalDate getPlanOfflineDate() {
		return planOfflineDate;
	}
	public void setPlanOfflineDate(LocalDate planOfflineDate) {
		this.planOfflineDate = planOfflineDate;
	}
	public int getPriority() {
		return priority;
	}
	public void setPriority(int priority) {
		this.priority = priority;
	}
	public LocalDateTime getAnalysisTime() {
		return analysisTime;
	}
	public void setAnalysisTime(LocalDateTime analysisTime) {
		this.analysisTime = analysisTime;
	}
	public String getAnalysisResult() {
		return analysisResult;
	}
	public void setAnalysisResult(String analysisResult) {
		this.analysisResult = analysisResult;
	}
	public String getEa0() {
		return ea0;
	}
	public void setEa0(String ea0) {
		this.ea0 = ea0;
	}
	public String getEa1() {
		return ea1;
	}
	public void setEa1(String ea1) {
		this.ea1 = ea1;
	}
	public String getEa2() {
		return ea2;
	}
	public void setEa2(String ea2) {
		this.ea2 = ea2;
	}
	public String getEa3() {
		return ea3;
	}
	public void setEa3(String ea3) {
		this.ea3 = ea3;
	}
	public String getEa4() {
		return ea4;
	}
	public void setEa4(String ea4) {
		this.ea4 = ea4;
	}
	public String getPartRevision() {
		return partRevision;
	}
	public void setPartRevision(String partRevision) {
		this.partRevision = partRevision;
	}

}
